<?php $this->_extends('_layouts/default_layout'); ?>
<?php $this->_block('title'); ?>登录<?php $this->_endblock(); ?>
<?php $this->_block('contents'); ?>
<div style="margin-top: 60px" />
<div id="login" class="ui-corner-all to-close" style="width: 350px; border:1px solid black;" >
					<div style="font-weight: bold; margin-bottom: 10px;">请登录</div>
					<div class="err-msg" style="display:none">
					</div>
					<div class="section" style="border:none; text-align: left; padding-left: 10px; line-height: 1.8em;">
						<form action="<?=url("user/login") ?>" method="POST">
							<label for="username" style="width: 40px">登录名 ：</label> <input type="text" value="" name="username" id="username" class="textbox" /> <span class="description">用户名或Email</span><br /><br />
							<label for="password" style="width: 40px;">密　码 ：</label> <input type="password" value="" name="password" class="textbox" /><br />
							<input type="hidden" id="refer" name="refer" value="<?=$refer ?>" />
							<input style="margin-top:10px; margin-left: 100px" type="submit" value="登陆" />
							<span class="ajax-loader"><img src="/img/ajax-loader.gif" />正在提交</span>
						</form>
					</div>
</div>
<div style="margin-top: 200px" />
<script type="text/javascript">
document.getElementById("username").focus();
</script>
<?php $this->_endblock(); ?>
